import {Apidepartments, Apiroles,} from '@/api'
export default{
    // 获取一级科室全部信息
    getCacheDepartments({commit}){
        Apidepartments({allPage:2}).then((res)=>{
            const data = res.data || []
            commit('setCacheDepartments',data)
        })
    },
}